// 添加全局背景色设置
body {
  background-color: #f5f5f5 !important;
}

#app {
  margin: 0rpx;
  padding: 0rpx;
  background: inherit; // 继承body背景色
  max-width: 750rpx; // 设计稿基准宽度
  width: 100vw;      // 实际渲染宽度
  height: 100vh;     // 实际渲染高度
  margin: 0 auto;    // 水平居中
  overflow-x: hidden; // 防止横向滚动
}
// 添加基础布局样式
.layout-container {
  width: 750rpx;
  box-sizing: border-box;
}
.border{
  border: 1px solid red;
}
.w-100 {
  width: 100%;
}
.h-100{
  height: 100%;
}
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.layout-body {
  padding: 14px;
}

.scroll {
  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: transparent;
  }
  &::-webkit-scrollbar-thumb {
    width: 100%;
    background: #d8d8d8;
    border-radius: 6px;
    transition: all .2s ease;
    &:hover {
      background: #b4b4b4;
    }
  }
}

.table {
  width: 100%;
  box-shadow: 0 0 1px #5b5b5b;
  &__btn {
    margin: 3px 5px;
    //color: $primary;
  }
  &__img {
    width: 100px;
    padding: 6px 10px;
    display: inline-block;
    vertical-align: middle;
  }
}

.btn {
  margin: 4px;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ellipsis3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.model {
  width: 70%;
  height: 318rpx;
  margin-left: 15%;
  background-color: #fff;
  border-radius: 10rpx;
  z-index: 1000;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
}
.mask_black {
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.7;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
/* 字体不换行 */

.keep_all {
  word-break: keep-all;
}
.break_word{
    word-wrap: break-word;
}